
package com.scs.application.modules.upms.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scs.application.modules.upms.entity.WorkbenchBlock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 工作台区块 mapper对象
*
*/
@Mapper
public interface WorkbenchBlockMapper extends BaseMapper<WorkbenchBlock> {

    /**
     * 查询适用于指定用户的区块
     * @param loginKey
     * @return
     */
    List<WorkbenchBlock> listUserBlock(@Param("loginKey") String loginKey);

}
